@import "./common.less";

.mmbuy_view {
    padding: 80px 0px 0px;
    width: 100%;
    overflow: scroll;
    box-sizing: border-box;
    .nav_mmbuy{
        width: 100%;
        background-color: #fff;
        padding: 10px 0;
        .nav_box {
            width: 100%;
            height: 160px;
            overflow: hidden;
            transition: height 1s;
            .nav_list{
                width: 100%;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                li{
                    width: 25%;
                    padding: 14px 0;
                    overflow: hidden;
                    text-align: center;
                    a{
                        width: 100%;
                        text-decoration: none;
                        .nav_img{
                            margin: 0 auto;
                            width: 32px;
                            height: 32px;
                            img {
                                width: 32px;
                                height: 32px;
                            }
                        }
                        .nav_name{
                            font-size: 13px;
                            color: #000;
                            text-align: center;
                        }
                    }
                }
            }
        }
    }

    //推荐部分样式开始
    .recommend_content{
        margin-top: 10px;
        background-color: #fff;
        .content_title{
            width: 100%;
            height: 36px;
            line-height: 36px;
            background-color: orange;
            .title_left{
                font-size: 18x;
                font-weight: bold;
                color: #fff;
                margin-left: 10px; 
            }
            .title_right {
                width: 20px;
                height: 20px;
                margin-right: 10px;
                margin-top: 5px;
                img {
                    width: 100%;

                }
               
            }
        }
        
        .content{
            background-color: #fff;
           ul{
               li{
                   background-color: transparent;
                   border-bottom: 1px solid #ccc;
                  a {
                      display: flex;
                      margin: 14px 8px;
                      overflow: hidden;
                    .list_left{
                        width: 100px;
                        margin: 10px;
                        // height: 80px;
                        img {
                            width: 100%;
                        }
                    }
                    .list_right{
                        flex: 1;
                        overflow: hidden;
                        margin-right: 10px;
                        .list_name{
                            font-size: 16px;
                            color: #333;
                            margin-bottom: 15px;
                            white-space: wrap;
                            overflow: hidden;
                            text-overflow: ellipsis;
                        }
                        .price{
                            color: red;
                            margin-bottom: 16px;
                        }
                        .time {
                            font-size: 10px;
                            color: #666;
                            div {
                                span{
                                    color: #ccc;
                                    margin: 0px 8px;
                                }
                            }
                        }
                    }
                  }
               }
           } 
        }
    }

    //底部更多按钮样式开始
    .privilege {
        width: 100%;
        // background-color: #fff;
        padding: 10px;
        .privilege_btn{
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
            text-align: center;
            background-color: #fff;
            a{
                font-size: 12px;
                color: #666;
                
            }
        }
    }
    
}

.mmbuy_view  .nav_mmbuy .list_active {
    height: 240px;
    transition: height 1s;
    // transition-property: height;
}